package com.xh.starter;

/**
 * @Name HellowService
 * @Description
 * @Author wen
 * @Date 2019-06-13
 */
public class HellowService {

    private HellowProperties properties;

    public HellowService(HellowProperties properties) {
        this.properties = properties;
    }

    public String say(String name){
        return properties.getPrefix() + "-" + name + "-" + properties.getSuffix();
    }

}
